/**
 *  文件名:FragmentGift.java
 *  修改人:lihangjie
 *  创建时间:2015-9-8 下午6:21:09
 */
package com.sharemob.tinchat.modules.space;

import java.util.ArrayList;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

import com.sharemob.tinchat.R;
import com.sharemob.tinchat.base.BaseFragment;
import com.sharemob.tinchat.base.FriendItem;
import com.sharemob.tinchat.base.Item;
import com.sharemob.tinchat.base.ListAdapter;
import com.sharemob.tinchat.base.ListAdapterForFriend;

/**
 * 
 * <一句话功能简述>
 *
 * @author lihangjie
 * version [版本号,2015-9-8 下午6:21:09]
 * @see    [相关类/方法]
 * @since  [产品/模块版本]
 *
 */
public class FragmentGift extends BaseFragment {
	private ListView infoListView=null;
    private ListAdapter listAdapter=null;
	public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {
		
		return inflater.inflate(R.layout.fragment_space_git_tab, container,true);
	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		 listAdapter=new ListAdapter();
	     infoListView=(ListView)getView().findViewById(R.id.lv_space_receive_gifts); 
	     final ArrayList<Item> list = new  ArrayList< Item>();
	     
//	        Item item=new Item();
//	        item.setId("1001");
//	        item.setName("💍     钻戒");
//	        item.setRightName("1件");
//	        item.setIcon(false);
//	        item.setArrow_icon(false);
//	        list.add(item);
	        infoListView= getListView(list,R.id.lv_space_receive_gifts);
	}
	protected void keyEventOfListView(int position, int id) {

	}

}
